package com.kedacom.freedomLabel.socket;

import com.vilyever.socketclient.SocketClient;

public class SocketInit {

    private volatile static SocketClient singleton;
    private SocketInit(){
    }
    public static SocketClient getSingleton() {
        if (singleton == null) {
            synchronized (SocketClient.class) {
                if (singleton == null) {
                    singleton = new SocketClient();
                }
            }
        }
        return singleton;
    }

}
